﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyMvc.Model.Models;

namespace BlueHome.Admin.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            User uInfo = Session["User"] as User;
            if (uInfo != null)
            {
                ViewBag.UserName = "管理员：" + uInfo.UserName;
            }
            return View();
        }

    }
}
